// import { useEffect, useRef } from "react";
import BarChart from "./components/BarChart";
const Home = () => {
  return (
    <>
      <BarChart
        xData={["Vue", "React", "Angular"]}
        sData={[2000, 5000, 1000]}
        title={"三大框架使用率"}
      ></BarChart>
      <BarChart
        xData={["Vue", "React", "Angular"]}
        sData={[200, 500, 100]}
        title={"三大框架满意度"}
        style={{ width: "500px", height: "400px" }}
      ></BarChart>
    </>
  );
};

export default Home;
